package cn.uexpo.lhz.biz.impl;

import cn.uexpo.lhz.biz.TTrafficEquipmentService;
import cn.uexpo.lhz.dao.TTrafficEquipmentDao;
import cn.uexpo.lhz.domain.TTrafficEquipmentEntity;
import cn.uexpo.lhz.plus.PageUtils;
import cn.uexpo.lhz.plus.Query;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import java.util.Map;



@Service("tTrafficEquipmentService")
public class TTrafficEquipmentServiceImpl extends ServiceImpl<TTrafficEquipmentDao, TTrafficEquipmentEntity> implements TTrafficEquipmentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TTrafficEquipmentEntity> page = this.page(
                new Query<TTrafficEquipmentEntity>().getPage(params),
                new QueryWrapper<TTrafficEquipmentEntity>()
        );

        return new PageUtils(page);
    }

}
